package com.vhall.component.entity.lottery.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;

/**
 * @author dongsong
 */
@Data
public class V4LotteryEndReqVO {
    /**
     * 抽奖ID
     */
    @ParamName("lottery_id")
    @JsonProperty("lottery_id")
    @PositiveOrZero(message = "lottery_id参数异常")
    @NotNull(message = "lottery_id参数异常")
    private Integer lotteryId;

    @ParamName("room_id")
    @JsonProperty("room_id")
    @NotBlank(message = "房间ID不能为空")
    private String roomId;
}
